package src.consumer_producer;

/**
 * Created by 58 on 2016/3/23.
 */
public class main {
    public static void main(String[] args) {
        Table table = new Table(3);
        new Producer("makerThread1", table, 31415).start();
//        new Producer("makerThread2", table, 92653).start();
//        new Producer("makerThread3", table, 58979).start();
        new Consumer("eaterThread1", table, 43454).start();
//        new Consumer("eaterThread2", table, 63454).start();
//        new Consumer("eaterThread3", table, 73454).start();
    }
}